<template>
  <div>
    <div>
      <h4>嵌套路由</h4>
      <router-link to='/main'>主页</router-link>
      <router-link to='/news'>新闻</router-link>
      <router-link to='/play'>体育</router-link>
    </div>
    <div>
      <router-view></router-view>
    </div>
  </div>
</template>

<script>
export default {

}
</script>

<style>
a{
  margin-left: 10px;
}
</style>